package top.infopub.job.sts.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.sts.dao.MarchCollectDao;
import top.infopub.model.sts.MarchCollect;
import top.infopub.job.sts.service.MarchCollectService;

@Service
public class MarchCollectServiceImpl extends GenericServiceImpl<MarchCollect, String> implements
		MarchCollectService {

	@Autowired
	private MarchCollectDao marchCollectDao;
	
	@Override
	public GenericDao<MarchCollect, String> getDao() {
		return marchCollectDao;
	}

    @Override
    public void updateByProCode(String proCode) {
        marchCollectDao.updateByProCode(proCode);
    }

}